package com.xlh.openai.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xlh.openai.entity.ExchangeCodeEntity;

public interface ExchangeCodeService extends IService<ExchangeCodeEntity> {

    /**
     * 兑换激活码
     * @param code
     * @return
     */
    void exchange(String code);

    /**
     * 获取激活码
     * @param changeNumber 需要激活码数量
     */
    void getExchangeCode(Integer changeNumber);


}
